import React, { Component } from 'react'
import { connect } from 'react-redux'

const mapStateToProps = state => ({
  searchs: state.getIn(['search', 'searchs'])
})

@connect(mapStateToProps, null)
export default class List extends Component {
  render() {
    return (
      <>
        {
          !this.props.searchs.get(0) ? '' : (
            <div>有数据</div>
          )
        }
      </>
    )
  }
}
